/* ex: set tabstop=4 shiftwidth=4 expandtab: */
#ifndef _BASE64_H
#define _BASE64_H

extern void base64_init(void);

extern int base64_encode(char *dst, const char *src, int slen);

/* return len of decoded string (not including last '\0' */
extern int base64_decode(char *dst, const char *src);

#endif
